<?php

include_once "functions.php";
$f = fopen($config['OUT'].'/'.'/images/1.jpg', 'wb');
echo 'Processing image....';
$result = curl_get_image("http://allflowersplanet.ru/wp-content/uploads/2008/05/105.jpg");
fwrite($f, $result);
fclose($f);

 ?>